package com.gxa.shop.service.brand;

import com.gxa.shop.bean.dto.BrandQueryPage;
import com.gxa.shop.bean.pojo.Brand;
import com.gxa.shop.bean.pojo.Category;
import com.gxa.shop.bean.vo.BrandOption;

import java.util.List;

/**
 * com.gxa.shop.bean.service
 * User: zjy
 * Date: 2024/12/18 10:35
 * motto:   逆水行舟不进则退
 * Description:
 * Version: V1.0
 */
public interface BrandService {
    Category queryById(Integer brandId);

    boolean insert(Brand brand);

    boolean update(Brand brand);

    boolean deleteById(Integer brandId);


    List<Brand> findByPage(BrandQueryPage brandQueryPage);

    Long findByTotal(BrandQueryPage brandQueryPage);

    List<BrandOption> findAllList();
}
